<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>

<body>
<button disabled>我已经阅读用户协议(10)</button>

<script>

    let time = 9
    const element = document.querySelector('button');
    const interval = setInterval(function () {
        element.innerHTML = `我已经阅读用户协议(${time})`
        if (time > 0) {
            time--
        } else {
            clearInterval(interval)
            element.disabled = false
            element.style.backgroundColor = 'orange'
        }
    }, 1000);
</script>
</body>
</html>